﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Collection.Interfaces;
using Collection.Services;

namespace Collection.Core
{
	public  class ServiceFactory
	{
		/// 类目相关的数据库处理服务
		/// </summary>
		public readonly static ICatalogService CatalogService;


		/// <summary>
		/// 产品相关的数据库处理服务
		/// </summary>
		public readonly static IMerchandiseService MerchandiseService;

		/// <summary>
		/// 服务初始化
		/// </summary>
		static ServiceFactory()
		{
			CatalogService = new CatalogService();
			MerchandiseService = new MerchandiseService();
		}
	}
}
